package demo12;

import demo2.jt.Springconfig;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

import java.lang.reflect.AnnotatedArrayType;

public class Test {
    public static void main(String[] args) {
        ApplicationContext a = new AnnotationConfigApplicationContext(Spring011.class);
        CatLlipl bean = a.getBean(CatLlipl.class);
        bean.Add();

    }
}
